package com.itheima.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


/**
 * @Auther: csp1999
 * @Date: 2020/10/31/13:33
 * @Description: 阿里云 OSS 基本配置
 */
// 声明配置类，放入Spring容器
@Configuration
// 指定配置文件中自定义属性前缀
@ConfigurationProperties(prefix = "ali.oss")
@Data
public class Aliyuncs {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;


}
